package org.quickstart.services;

import org.quickstart.api.service.ContactsService;
import org.quickstart.model.Contact;

import java.util.ArrayList;


/**
 * @author Yoav Aharoni
 */
public class ContactsServiceImpl implements ContactsService {
	private ArrayList<Contact> mockContacts;

	public ContactsServiceImpl() {
		mockContacts = new ArrayList<Contact>();
		mockContacts.add(new Contact("Jhon (RPC)", "00-123456789"));
		mockContacts.add(new Contact("Emma (RPC)", "0-98-7654321"));
		mockContacts.add(new Contact("McHammer (RPC)", "11-223-445"));
	}

	@Override
	public ArrayList<Contact> getContacts() {
		return mockContacts;
	}
}
